/*
 * @Descripttion: GGB
 * @version: 1.0
 * @Author: GGB
 * @Date: 2021-08-11 17:56:17
 * @LastEditors: GGB
 * @LastEditTime: 2021-08-22 12:29:43
 */
// import 'package:amap_flutter_map/amap_flutter_map.dart';
import 'package:flutter_data_center/utills/sp_utils.dart';

class Config {
  static String BASE_HOST =
      "https://16dd149a-74b8-4276-b7bf-e7919fc7d2c7.mock.pstmn.io";
  static Future<bool> init() async {
    var baseurl = await SPUtils.getString("baseUrl");
    if (baseurl != null) {
      BASE_HOST = baseurl;
    }
    return true;
  }

  getUrl() async {
    var baseurl = await SPUtils.getString("baseUrl");
    return baseurl;
  }

  static const String SCHOOL_NAME = "萃元小学";
  static const String ACCESS_TOKEN =
      "pk.eyJ1IjoiZ2diaGFjayIsImEiOiJja2todnpuOGQwYjl0Mm5wN3k4N204NTZ2In0.xo-mkYaB4-Vnvqe1ZlRulg";
}
